<%--
  Created by IntelliJ IDEA.
  User: evans
  Date: 2018/3/15
  Time: 下午5:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
    <meta name="theme-color" content="#000000" />
    <title>Soico</title>
    <link rel="stylesheet" href="../../css/main.827f7436.css" />
    <link rel="stylesheet" href="../../css/materialize.min.css" />
    <link rel="stylesheet" href="../../css/App.css" />
    <link rel="stylesheet" href="../../css/Header.css" />
    <script type="text/javascript" async="" src="../../js/common/recaptcha__zh_cn.js"></script>
    <script type="text/javascript" src="../../js/common/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../../js/common/materialize.min.js"></script>
    <script type="text/javascript" src="../../js/common/public.js"></script>
    <script type="text/javascript" src="../../js/common/requestAPi.js"></script>
    <script type="text/javascript" src="../../js/common/layer.js"></script>
    <script type="text/javascript" src="../../js/common/md5.js"></script>
</head>
<body>
<div id="root">
    <div style="background-color: rgb(250, 250, 250); min-height: 100vh; min-width: 1000px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;">
        <div>
            <div class="s-alert-wrapper"></div>
            <%@include file="top.jsp"%>
            <div class="container">
                <div class="placeOrder">
                    <div class="row">
                        <form id="cashbox" class="col s8 offset-s2 cardContainer commonMarginTop">
                            <h4>提现ETH</h4>
                            <p>＊最小提领额度为1ETH</p>
                            <p>您的帐户余额： ${amount} ETH</p>
                            <div style="height: 1px; background-color: rgb(186, 184, 184); margin: 10px 0px;"></div>
                            <div class="row">
                                <div class="col s12">
                                    <div style="margin-top: 20px;">
                                        <div>
                                            <span>金额</span>
                                            <span class="react-numeric-input" style="position: relative; display: inline-block;">
                                            	<input id="amount1" type="number" onkeyup="value=value.replace(/[^\d]/g,'')" name="amount" class="amountInput acount" placeholder="请输入提现金额"  value="" pattern=".*" style="padding-right: 3ex; box-sizing: border-box; border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding-left: 4px; display: block; -webkit-appearance: none; line-height: normal;" />
                                            	<span class="red-text hide">请输入金额</span>
                                            	<%--<b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 2px; bottom: 50%; border-radius: 2px 2px 0px 0px; border-width: 1px 1px 0px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0px 0.6ex 0.6ex; border-color: transparent transparent rgba(0, 0, 0, 0.7); border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b><b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 50%; bottom: 2px; border-radius: 0px 0px 2px 2px; border-width: 0px 1px 1px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0.6ex 0.6ex 0px; border-color: rgba(0, 0, 0, 0.7) transparent transparent; border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b>--%>
                                            </span>

                                        </div>
                                    </div>
                                    <%--<div class="fee">--%>
                                        <%--<span>手续费</span>--%>
                                        <%--<span class="react-numeric-input" style="position: relative; display: inline-block;"><input type="text" class="amountInput fee" readonly="" value="0.01000" pattern=".*" style="padding-right: 3ex; box-sizing: border-box; border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding-left: 4px; display: block; -webkit-appearance: none; line-height: normal;" /><b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 2px; bottom: 50%; border-radius: 2px 2px 0px 0px; border-width: 1px 1px 0px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0px 0.6ex 0.6ex; border-color: transparent transparent rgba(0, 0, 0, 0.7); border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b><b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 50%; bottom: 2px; border-radius: 0px 0px 2px 2px; border-width: 0px 1px 1px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0.6ex 0.6ex 0px; border-color: rgba(0, 0, 0, 0.7) transparent transparent; border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b></span>--%>
                                    <%--</div>--%>
                                    <%--<div class="fee">--%>
                                        <%--<span>实际到账金额</span>--%>
                                        <%--<span class="react-numeric-input" style="position: relative; display: inline-block;"><input type="text" class="amountInput fee" readonly="" value="" pattern=".*" style="padding-right: 3ex; box-sizing: border-box; border: 1px solid rgb(204, 204, 204); border-radius: 2px; padding-left: 4px; display: block; -webkit-appearance: none; line-height: normal;" /><b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 2px; bottom: 50%; border-radius: 2px 2px 0px 0px; border-width: 1px 1px 0px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0px 0.6ex 0.6ex; border-color: transparent transparent rgba(0, 0, 0, 0.7); border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b><b style="position: absolute; right: 2px; width: 2.26ex; border-color: rgba(0, 0, 0, 0.1); border-style: solid; text-align: center; cursor: default; transition: all 0.1s; background: rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px inset, rgba(255, 255, 255, 0.7) 1px 1px 3px inset; top: 50%; bottom: 2px; border-radius: 0px 0px 2px 2px; border-width: 0px 1px 1px;"><i style="position: absolute; top: 50%; left: 50%; width: 0px; height: 0px; border-width: 0.6ex 0.6ex 0px; border-color: rgba(0, 0, 0, 0.7) transparent transparent; border-style: solid; margin: -0.3ex 0px 0px -0.56ex;"></i></b></span>--%>
                                    <%--</div>--%>
                                    <div style="margin-top: 20px;">
                                        <span>提现目标帐户</span>
                                        <div>
                                            <div>
                                                <input id="addr" type="text" placeholder="请输入目标账号" name="targetAddress" class="id" value="" style="margin-bottom: 0;"/>
                                                <span class="red-text hide">请输入目标账号</span>
                                                <label class="active" for="addr"></label>

                                            </div>
                                        </div>
                                    </div>
                                    <div style="margin-top: 20px;">
                                        <span>手机验证码</span>
                                        <div>
                                            <div>
                                                <input id="captch" type="text"  name="token" placeholder="请输入短信验证码" class="code" value="" style="margin-bottom:0;width:75%"/>
                                                <span class="red-text hide">请输入短信验证码</span>
                                                <label class="active" for="captch"></label>
                                                <input type="button" id="captcha3"  value="获取验证码" onclick="sendMail()">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <a id="submit" class="btn waves-effect waves-light submitBtn col s6 offset-s3" onclick="withDraw()">确认提现</a>
                        </form>
                    </div>
                </div>
            </div>
            <footer class="page-footer">
                <%@include file="footer.jsp"%>
            </footer>
        </div>
    </div>
</div>
</body>
</html>
